package nimble.dynamic.proxy.action;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class ActionProxy implements InvocationHandler {

    private Action target;

    public void bind(Action target)
    {
        this.target=target;
    }

    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        method.invoke(target,args);
        return null;
    }
}
